#include"HttpServer.hpp"
void Usage(string proc){
    cout<<"Usage\n \t";
    cout<<proc<<" port"<<endl;
}
int main(int argc, char* argv[]){
    if(argc != 2){
        Usage(argv[0]);
        exit(0);
    }
    
    HttpServer* hp = new HttpServer(atoi(argv[1]));
    hp->initServer();
    hp->Start();

    delete hp;

    return 0;
}
